package com.bafarat;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Player player = new Player();
        Scanner scan = new Scanner(System.in);
        
        System.out.println("your health is:" + player.gethealth());
        System.out.println("your streangth is:" + player.getStrength());
        System.out.println("how much health do you want?" );

        int input = scan.nextInt();
        player.setHealth(input);
        
        System.out.println("Your health now is: " + player.gethealth());
        System.out.println("OUCH a sniper got you: ");
        player.takeDamage(player.getStrength());
        System.out.println("Your health now is: " + player.gethealth());
	}

}
